package com.woniu.cms.auth.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author lilili
 * @since 2022-09-16
 */
@Data
  @TableName("cms_rbac_perm")
@ApiModel(value = "RbacPerm对象", description = "")
public class RbacPerm implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("权限编号")
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("权限英文表示")
      private String permName;

      @ApiModelProperty("菜单中文表示，用于方便前端展示")
      private String title;

      @ApiModelProperty("上级菜单的标号")
      private Integer pid;

      @ApiModelProperty("菜单链接的url")
      private String url;
}
